home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / DRIVER.CAB / dhcpctrs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-20  |  2.0 KB  |  68 lines

  1. /**********************************************************************/
  2. /**                       Microsoft Windows NT                       **/
  3. /**                Copyright(c) Microsoft Corp., 1993                **/
  4. /**********************************************************************/
  5.  
  6. /*
  7.     dhcpctrs.h
  8.  
  9.     Offset definitions for the DHCP Server's counter objects & counters.
  10.  
  11.     These offsets *must* start at 0 and be multiples of 2.  In the
  12.     OpenDhcpPerformanceData procedure, they will be added to the
  13.     DHCP Server's "First Counter" and "First Help" values in order to
  14.     determine the absolute location of the counter & object names
  15.     and corresponding help text in the registry.
  16.  
  17.     This file is used by the DHCPCTRS.DLL DLL code as well as the
  18.     DHCPCTRS.INI definition file.  DHCPCTRS.INI is parsed by the
  19.     LODCTR utility to load the object & counter names into the
  20.     registry.
  21.  
  22. */
  23.  
  24.  
  25. #ifndef _DHCPCTRS_H_
  26. #define _DHCPCTRS_H_
  27.  
  28.  
  29. //
  30. // BUGBUG - need to get a good range here..
  31. //
  32.  
  33. #define DHCPCTRS_FIRST_COUNTER 2514    
  34. #define DHCPCTRS_FIRST_HELP    2515
  35. #define DHCPCTRS_LAST_COUNTER    2542
  36. #define DHCPCTRS_LAST_HELP    2543
  37.  
  38.  
  39.  
  40. //
  41. //  The WINS Server counter object.
  42. //
  43.  
  44. #define DHCPCTRS_COUNTER_OBJECT           0
  45.  
  46.  
  47. //
  48. //  The individual counters.
  49. //
  50.  
  51. #define DHCPCTRS_PACKETS_RECEIVED         2
  52. #define DHCPCTRS_PACKETS_DUPLICATE        4
  53. #define DHCPCTRS_PACKETS_EXPIRED          6
  54. #define DHCPCTRS_MILLISECONDS_PER_PACKET  8
  55. #define DHCPCTRS_PACKETS_IN_ACTIVE_QUEUE  10
  56. #define DHCPCTRS_PACKETS_IN_PING_QUEUE    12
  57. #define DHCPCTRS_DISCOVERS                14
  58. #define DHCPCTRS_OFFERS                   16
  59. #define DHCPCTRS_REQUESTS                 18
  60. #define DHCPCTRS_INFORMS                  20
  61. #define DHCPCTRS_ACKS                     22
  62. #define DHCPCTRS_NACKS                    24
  63. #define DHCPCTRS_DECLINES                 26
  64. #define DHCPCTRS_RELEASES                 28
  65.  
  66. #endif  // _DHCPCTRS_H_
  67.  
  68.